/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package mnstudent.datatranferobject;

import java.sql.Date;
import java.util.Objects;

/**
 *
 * @author 11520_000
 */
public class PositionDTO {
    
    // <editor-fold defaultstate="collapsed" desc=" Attributes ">
    private String m_PositionID;
    private String m_NameOfPosition;
    private Boolean m_SettingSystem;
    private Boolean m_RegulatoryChange;
    private Boolean m_StudentManager;
    private Boolean m_CreateCourseRegistration;
    private Boolean m_CreateReceipt;
    private Boolean m_SlitClass;
    private Boolean m_SearchStudent;
    private Boolean m_SearchReceipt;
    private Boolean m_SearchSubject;
    private Boolean m_CreateReport;
    
    
    
    // <editor-fold defaultstate="collapsed" desc=" Properties ">
   
     public String getPositionID() {
        return m_PositionID;
    }

    public void setPositionID(String m_PositionID) {
        this.m_PositionID = m_PositionID;
    }

    public String getNameOfPosition() {
        return m_NameOfPosition;
    }

    public void setNameOfPosition(String m_NameOfPosition) {
        this.m_NameOfPosition = m_NameOfPosition;
    }

    public Boolean isSettingSystem() {
        return m_SettingSystem;
    }

    public void setSettingSystem(Boolean m_SettingSystem) {
        this.m_SettingSystem = m_SettingSystem;
    }

    public Boolean isRegulatoryChange() {
        return m_RegulatoryChange;
    }

    public void setRegulatoryChange(Boolean m_RegulatoryChange) {
        this.m_RegulatoryChange = m_RegulatoryChange;
    }

    public Boolean isStudentManager() {
        return m_StudentManager;
    }

    public void setStudentManager(Boolean m_StudentManager) {
        this.m_StudentManager = m_StudentManager;
    }

    public Boolean isCreateCourseRegistration() {
        return m_CreateCourseRegistration;
    }

    public void setCreateCourseRegistration(Boolean m_CreateCourseRegistration) {
        this.m_CreateCourseRegistration = m_CreateCourseRegistration;
    }

    public Boolean isCreateReceipt() {
        return m_CreateReceipt;
    }

    public void setCreateReceipt(Boolean m_CreateReceipt) {
        this.m_CreateReceipt = m_CreateReceipt;
    }

    public Boolean isSlitClass() {
        return m_SlitClass;
    }

    public void setSlitClass(Boolean m_SlitClass) {
        this.m_SlitClass = m_SlitClass;
    }

    public Boolean isSearchStudent() {
        return m_SearchStudent;
    }

    public void setSearchStudent(Boolean m_SearchStudent) {
        this.m_SearchStudent = m_SearchStudent;
    }

    public Boolean isSearchReceipt() {
        return m_SearchReceipt;
    }

    public void setSearchReceipt(Boolean m_SearchReceipt) {
        this.m_SearchReceipt = m_SearchReceipt;
    }

    public Boolean isSearchSubject() {
        return m_SearchSubject;
    }

    public void setSearchSubject(Boolean m_SearchSubject) {
        this.m_SearchSubject = m_SearchSubject;
    }

    public Boolean isCreateReport() {
        return m_CreateReport;
    }

    public void setCreateReport(Boolean m_CreateReport) {
        this.m_CreateReport = m_CreateReport;
    }
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Method ">
   
    public PositionDTO(){
    }
    
    public PositionDTO(String strPositionID, String strNameOfPosition){
    
        this.m_PositionID = strPositionID;
        this.m_NameOfPosition = strNameOfPosition;
    }
    
    public PositionDTO(String m_PositionID, String m_NameOfPosition,
            Boolean m_SettingSystem, 
            Boolean m_RegulatoryChange, 
            Boolean m_StudentManager, 
            Boolean m_CreateCourseRegistration, 
            Boolean m_CreateReceipt, 
            Boolean m_SlitClass, 
            Boolean m_SearchStudent, 
            Boolean m_SearchReceipt, 
            Boolean m_SearchSubject, 
            Boolean m_CreateReport) {
        this.m_PositionID = m_PositionID;
        this.m_NameOfPosition = m_NameOfPosition;
        this.m_SettingSystem = m_SettingSystem;
        this.m_RegulatoryChange = m_RegulatoryChange;
        this.m_StudentManager = m_StudentManager;
        this.m_CreateCourseRegistration = m_CreateCourseRegistration;
        this.m_CreateReceipt = m_CreateReceipt;
        this.m_SlitClass = m_SlitClass;
        this.m_SearchStudent = m_SearchStudent;
        this.m_SearchReceipt = m_SearchReceipt;
        this.m_SearchSubject = m_SearchSubject;
        this.m_CreateReport = m_CreateReport;
    }

    @Override
    public String toString() {
        return m_NameOfPosition;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 47 * hash + Objects.hashCode(this.m_PositionID);
        hash = 47 * hash + Objects.hashCode(this.m_NameOfPosition);
        hash = 47 * hash + Objects.hashCode(this.m_SettingSystem);
        hash = 47 * hash + Objects.hashCode(this.m_RegulatoryChange);
        hash = 47 * hash + Objects.hashCode(this.m_StudentManager);
        hash = 47 * hash + Objects.hashCode(this.m_CreateCourseRegistration);
        hash = 47 * hash + Objects.hashCode(this.m_CreateReceipt);
        hash = 47 * hash + Objects.hashCode(this.m_SlitClass);
        hash = 47 * hash + Objects.hashCode(this.m_SearchStudent);
        hash = 47 * hash + Objects.hashCode(this.m_SearchReceipt);
        hash = 47 * hash + Objects.hashCode(this.m_SearchSubject);
        hash = 47 * hash + Objects.hashCode(this.m_CreateReport);
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final PositionDTO other = (PositionDTO) obj;
        if (!Objects.equals(this.m_PositionID, other.m_PositionID)) {
            return false;
        }
        if (!Objects.equals(this.m_NameOfPosition, other.m_NameOfPosition)) {
            return false;
        }
        if (!Objects.equals(this.m_SettingSystem, other.m_SettingSystem)) {
            return false;
        }
        if (!Objects.equals(this.m_RegulatoryChange, other.m_RegulatoryChange)) {
            return false;
        }
        if (!Objects.equals(this.m_StudentManager, other.m_StudentManager)) {
            return false;
        }
        if (!Objects.equals(this.m_CreateCourseRegistration, other.m_CreateCourseRegistration)) {
            return false;
        }
        if (!Objects.equals(this.m_CreateReceipt, other.m_CreateReceipt)) {
            return false;
        }
        if (!Objects.equals(this.m_SlitClass, other.m_SlitClass)) {
            return false;
        }
        if (!Objects.equals(this.m_SearchStudent, other.m_SearchStudent)) {
            return false;
        }
        if (!Objects.equals(this.m_SearchReceipt, other.m_SearchReceipt)) {
            return false;
        }
        if (!Objects.equals(this.m_SearchSubject, other.m_SearchSubject)) {
            return false;
        }
        if (!Objects.equals(this.m_CreateReport, other.m_CreateReport)) {
            return false;
        }
        return true;
    }
    
    // </editor-fold>  

}
